package org.forwhat.service;

import org.forwhat.bean.WhatComment;
import org.forwhat.bean.WhatCommentDTO;
import org.forwhat.bean.WhatPost;
import org.forwhat.framework.annotation.AOP;


import java.util.List;

public interface WhatCommentService {
    @AOP("CheckStateAdvice")
    List<WhatCommentDTO> getCommentByParent(String parent);
    @AOP("CheckStateAdvice")
    List<WhatCommentDTO> getCommentByNode(String node);
    int sendComment(WhatComment whatComment);
}
